import ReactDOM from 'react-dom/client';
import { ConfigProvider } from 'antd'
import { Provider } from 'react-redux'
import zhCN from 'antd/es/locale/zh_CN'
import 'moment/locale/zh-cn';
import store from './store/index';
import 'antd/dist/antd.css'
import './index.scss';
import './styles/flex.scss'
import App from './App';
import reportWebVitals from './reportWebVitals';
const root = ReactDOM.createRoot(
  document.getElementById('root') as HTMLElement
);
root.render(
  <Provider store={store}>
    <ConfigProvider locale={zhCN}>
      <App />
    </ConfigProvider>
  </Provider>
);
reportWebVitals();
